
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
          name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <meta name="csrf-token" content="cPqshWzq8AP6CPB3WnTjWi7etMHthoseg6rFAYVE">
    <title>出库单</title>
    <meta name="description" content="出库单"/>
    <meta name="Keywords" content="出库单"/>
    {include file="common/link" /}
    <style>
        .reward_text {
            text-align: right;
            padding-right: 15px;
        }
    </style>
</head>
<body class="body-1">
<div id="container">
    <div class="mui-bar-tab cart-btn-box centerflex line-top">
        <div class="total-price box-flex-1 text-l">
            <p>共<em class="selectedNum" v-text="count">{$row.sales_num}</em>件商品</p>
            <p class="total">合计：<span class="red" v-text="formatCurrency(total)">{$row.actual_cost}</span>元</p>
        </div>
        <a class="qujiesuan" href="javascript:;" >生成出库单</a>
    </div>
     
     <div class="mui-content">
<!--         <div class="receiving-address bgcolor-white mb10 arrow">-->
         <div class="receiving-address ">
             <a href="javascript:void (0)" class="highlight  select_adr">
                <h2 class="ft14 clearfix">
                    <span class="fl">{$contacts}</span>
                    <span class="fr">{$mobile}</span>
                </h2>
                <p class="ft13">
                    收货地址：{$address}
                 </p>
             </a>
         </div>
         <div class="home-link-box bgcolor-white">
             <a href="javascript:;">
                 <i class="iconfont icon-shop"></i>
            </a>
         </div>
         {volist name="list" id="vo"}
            <div class="order-pro-group bgcolor-white ">
                <div class="order-pro-item order-pro-new-item centerflex line-top"><!---->
                    <div class="txt box-flex-1 setprice" data-id="{$vo.id}" data-maxnum="{$vo.goods_num - $vo.cnum}">
                        <h2 class="title">{$vo.title}<span class="num fr">×<em class="ft14"></em></span></h2>
<!--                        <span class="red-price">¥<em class="pro-price">110.00</em></span>-->
                        <p class="clearfix">
                            <span class="attribute fl"><em>规格：{$vo.specs}</em></span>
<!--                            <span class="num fr">×<em class="ft14">1</em></span>-->
                        </p>
                        <p>含税单价: <span class="ht_price">{$vo.ht_price}</span></p>
                        <p>税点: <span class="tax">{$vo.tax}</span></p>
                        <p>数量: <span class="goods_num">{$vo.goods_num}</span></p>
                        <p>已经出库数量: <span class="out_num" style="color: #ff5000;">{$vo.cnum}</span></p>
<!--                        <input type="text" placeholder="含税价格">-->
<!--                        <input type="text" placeholder="税点">-->
<!--                        <input type="text" placeholder="数量">-->
                    </div>
                </div>
            </div>
         {/volist}
         <div class="settlement-item centerflex bgcolor-white line-top"><label>运费</label>
             <span class="red-price box-flex-1 reward_text"><em>免运费</em></span></div>
         <div class="settlement-item centerflex bgcolor-white line-top"><label>小计</label>
             <span class="red-price box-flex-1 reward_text">¥<em class="pro-price">110.00</em></span></div>
         <div class="settlement-item centerflex bgcolor-white line-top">
             <label>备注</label>
             <input type="text" placeholder="在此输入备注内容" class="box-flex-1">
         </div>
         <div class="settlement-item centerflex bgcolor-white line-top">
             <label>运费</label>
             <input type="text" placeholder="格外运费" class="box-flex-1">
         </div>
         <div class="invoice-item bgcolor-white mt10">
             <span class="check-box-tit">是否需要开发票</span>
             <span class="fr">
                 <label><input type="radio" name="fapiao" value="1" class="newslist">是</label>
                 <label><input type="radio" name="fapiao" value="0" class="newslist">否</label>
             </span>
         </div>
     </div>
{include file="common/left-nav" /}
{include file="common/script" /}
    <script src="__CDN__/assets/web/plugins/fastclick.js"></script>
<script src="__CDN__/assets/web/js/place.js"></script>
<!--<script src="__CDN__/assets/web/js/city.data3.js"></script>-->
<!--<script src="__CDN__/assets/web/plugins/mui.picker.min.js"></script>-->
<!--<script src="__CDN__/assets/web/plugins/mui.poppicker.js"></script>-->

</body>
</html>
<script>
    var that;
    $('.mui-content').on('click','.setprice',function () {
        layer.prompt({
            title: '设置出库数量',
//                    area: ['800px', '350px'] //自定义文本域宽高
        }, function(value, index, elem){
            var id = that.data('id')
            if(value === "") {
                layer.tips("请填写金额", $('#zxr'));
                return;
            }
            that.find('.goods_num').html(value)

            // console.log(data2)

            layer.close(index);
        });
    })
</script>
<!---带扇形 不带footer->
